﻿ul#gallery-list {
	list-style: none;
	padding: 0px;
	margin: 0px;
	overflow: auto;
}

ul#gallery-list li {
	margin-bottom: 1px;
	float: left;
	margin: 0 4px 8px 4px;
}

ul#gallery-list li div.gallery-item {
	padding: 3px;
	background-color: White;
	border: solid 1px #999999;
	font-size: 0;
}

ul#gallery-list li h3 {
	padding: 0px;
	margin: 0px;
	font-size: 120% !important;
}

ul#gallery-list li .photo-canvas {
    font-size: 10px;
}

ul#photo-list {
	list-style: none;
	padding: 0px;
	margin: 0px;
}

ul#photo-list li {
	margin-bottom: 1px;
	float: left;
	margin: 0 4px 8px 4px;
}

#profile-gallery-pane ul#photo-list li {
	width: 90px;
	height: 90px;
}

ul#photo-list li dt {
	text-align: center;
}

ul#photo-list li div.gallery-item {
	padding: 3px;
	background-color: White;
	border: solid 1px #999999;
	font-size: 0;
}

ul#photo-list li h3 {
	padding: 0px;
	margin: 0px;
	font-size: 120% !important;
}

ul#photo-list li .photo-canvas {
    font-size: 10px;
}

#view-photo #x-stuff{
	margin: 1px auto;
	padding: 1px;
	width: 640px;
}

#mobile-photo #x-stuff{
	margin: 1px auto;
	padding: 1px;
	width: 100%;
}

#view-photo dl dt img {
	padding: 3px;
	background-color: White;
	border: solid 1px #999999;
	font-size: 0px;
}

#mobile-photo dl dt img {
	padding: 3px;
	background-color: White;
	border: solid 1px #999999;
	font-size: 0px;
}

#view-photo dl dd {
	background-color: #CCCCCC;
	margin: 1px auto;
	padding: 1px;
	width: 640px;
}

#mobile-photo dl dd {
	background-color: #CCCCCC;
	margin: 1px auto;
	padding: 1px;
	width: 100%;
}

.previous-photo, .next-photo {
    display: block;
    opacity: 0;
    width: 32px;
    height: 48px;
    font-size: 350%;
    font-weight: bold;
    text-shadow: 0 0 0.2em black;
    position: absolute;
    top: 50%;
    text-align: center;
    margin-top: -24px;
    z-index: 1000;
}

.previous-photo {
    left: 4px;
    float: left;
}

.next-photo {
    right: 4px;
    float: right;
}

.previous-photo a, .next-photo a {
    color: #ffffff;
    display: block;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    cursor: pointer;
}

.photo-canvas:hover .previous-photo, .photo-canvas:hover .next-photo {
    opacity: 0.7;
    background-color: rgba(17,17,17,0.8);
}

.photo-canvas .previous-photo:hover, .photo-canvas .next-photo:hover {
    opacity: 1;
    background-color: rgba(17,17,17,0.7);
}

#display-hd {
    display: none;
    position: fixed;
    width: 95%;
    height: 95%;
    left: 0;
    top: 0;
    background: rgba(17,17,17,0.95);
    z-index: 10000;
    text-align: center;
    vertical-align: middle;
    padding: 2.5%;
}

#display-hd #photo-hd, #mobile-hd #photo-hd {
    max-height: 100%;
    max-width: 100%;
    position: relative;
}

#display-hd .content-block 
{
    margin-right: 355px;
    height: 95%;
    vertical-align: middle;
    position: static;
}

#display-hd .comment-block
{
    float: right;
    position: relative;
    background-color: #ffffff;
    height: 95%;
    width: 350px;
    border-radius: 5px;
    text-align: left;
    padding: 5px;
    overflow: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.hd-blackout
{
    margin: 0 5px;
    background: rgba(17,17,17,1);
    border-radius: 5px;
    height: 100%;
}

#photo-640 {
    cursor: pointer;
}

#photo-mobile {
    cursor: pointer;
}

.gallery-title {
    display: block;
    height: 24px;
    margin-top: -24px;
    font-size: 100%;
    text-shadow: 0 0 0.3em white;
    position: absolute;
    top: 100%;
    text-align: left;
    z-index: 1000;
    padding: 5px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
}

.gallery-title h3 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.gallery-title h3 a {
    color: #111111;
}

.gallery-title a.photo-link {
    display: block;
    width: 100%;
    height: 100%;
    color: #111111;
    cursor: pointer;
    vertical-align: bottom;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-title p {
    display: none;
}

.gallery-title p.gallery-item-buttons 
{
    float: right;
    text-align: right;
    padding: 0;
    white-space: nowrap;
}

.photo-canvas:hover .gallery-title {
    color: #ffffff;
    text-shadow: 0 0 0.2em black;
    background-color: rgba(17,17,17,0.7);
    height: 46px;
    margin-top: -46px;
}

.photo-canvas:hover .gallery-title a {
    color: #ffffff;
}

.photo-canvas:hover .gallery-title p {
    display: inline;
}

.photo-canvas:hover .gallery-title p {
    display: block;
}

#photo-menu {
    display: none;
}

#mobile-hd {
    display: none;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;
    background: rgba(17,17,17,0.98);
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 1%;
    vertical-align: middle;
    text-align: center;
    z-index: 10000;
}
